import request from '@/utils/request'
import api from './config'
const host = api.apiHost

// 列表
export function getSalesTargetList(data) {
  return request({
    url: host + '/salesTarget/page',
    method: 'post',
    data
  })
}
// 添加
export function addSalesTarget(data) {
  return request({
    url: host + '/salesTarget/add',
    method: 'post',
    data
  })
}
// 编辑
export function updateSalesTarget(data) {
  return request({
    url: host + '/salesTarget/update',
    method: 'post',
    data
  })
}
